class Person:

    def __init__(self,name,age):
        self.name = name
        self.age = age


person = Person('张三',20)
print(person.name)
print(person.age)